package cevent.source.cloudcenter.server.dto;/**
 * Created by Cevent on 2021/4/21.
 */

/**
 * @author cevent
 * @description 通用排序DTO
 * @date 2021/4/21 15:34
 */
public class SortDto {
    private String uniId;
    private int currentSort;
    private int newSort;

    public String getUniId() {
        return uniId;
    }

    public void setUniId(String uniId) {
        this.uniId = uniId;
    }

    public int getCurrentSort() {
        return currentSort;
    }

    public void setCurrentSort(int currentSort) {
        this.currentSort = currentSort;
    }

    public int getNewSort() {
        return newSort;
    }

    public void setNewSort(int newSort) {
        this.newSort = newSort;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SortDto{");
        sb.append("uniId='").append(uniId).append('\'');
        sb.append(", currentSort=").append(currentSort);
        sb.append(", newSort=").append(newSort);
        sb.append('}');
        return sb.toString();
    }
}
